fix apc_index_mismatch stop error